﻿// -----------------------------------------------------------------------
// <copyright file=DmKhoaBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmKhoaBusiness
    {
        DmKhoaDataAccess objDa = null;

        public DmKhoaBusiness()
        {
            objDa = new DmKhoaDataAccess();
        }

        public bool InsertDmKhoa(DmKhoaEntity obj)
        {
            return objDa.InsertDmKhoa(obj);
        }

        public bool EditDmKhoa(DmKhoaEntity obj)
        {
            return objDa.EditDmKhoa(obj);
        }

        public bool DeleteDmKhoa(string maKhoa)
        {
            return objDa.DeleteDmKhoa(maKhoa);
        }

        public DmKhoaEntity GetDmKhoa(string maKhoa)
        {
            return objDa.GetDmKhoa(maKhoa);
        }

        public IList<DmKhoaEntity> GetDmKhoaList()
        {
            return objDa.GetDmKhoaList();
        }

    }
}